﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace GameName1
{
    class Rocket : Projectile
    {
        public Rocket(Vector2 position, Vector2 velocity) : base(position, velocity)
        {
        }

        public override Vector2 Velocity { get; set; }
        public override Vector2 Position { get; set; }

        public override void HandleHit()
        {
            Notify(this);
        }

        public override void Move()
        {
            Position += Velocity;
        }
    }
}
